<?php  session_start();
/**
* @package		Parents@School
* @copyright	Copyright (C) 2008 Kristof Beckers. All rights reserved.
* @Version		2.0
* @license		GNU/GPL, see LICENSE.php
**/
 
include ("include/config.php");
require_once ("include/db.php");


$sql="SELECT * FROM $tbparam";

	if ($result = mysqli_query($link, $sql)) 
		{
		echo "<br/>Datum ouderavond:<br/>";
    	/* fetch associative array */
   		 while ($row = mysqli_fetch_array($result)) 
		 {
        printf ("<em>%s (%s - %s)<br/></em>", $row["datum"],$row["Beginuur"],$row["Einduur"]);
    	}

    /* free result set */
    mysqli_free_result($result);
}
	

?>